cody - HTMLify profile

cody
4270 Files
633457 Views
Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/61 - Greeting Card
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Prata&family=Vollkorn:ital,wght@1,500&display=swap');
* {
overflow: hidden;
}
.navbar-brand {
color: whitesmoke !important;
* {
overflow: hidden;
}
.navbar-brand {
color: whitesmoke !important;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="style.css" rel="stylesheet" />
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="style.css" rel="stylesheet" />
let curHr = new Date().getHours();
const dayFormat = new Intl.DateTimeFormat('en', { weekday: 'long' });
const dateFormat = new Intl.DateTimeFormat('en', { year: 'numeric', month: 'long', day: '2-digit' });
const timeFormat = new Intl.DateTimeFormat('en', { hour: 'numeric', minute: 'numeric', second: 'numeric' });
setInterval(() => {
const date = new Date();
document.getElementById("day").innerHTML = dayFormat.format(date)
const dayFormat = new Intl.DateTimeFormat('en', { weekday: 'long' });
const dateFormat = new Intl.DateTimeFormat('en', { year: 'numeric', month: 'long', day: '2-digit' });
const timeFormat = new Intl.DateTimeFormat('en', { hour: 'numeric', minute: 'numeric', second: 'numeric' });
setInterval(() => {
const date = new Date();
document.getElementById("day").innerHTML = dayFormat.format(date)